php forum
php mysql forum
php mysql smarty
 
Page 1 of 5 1 2 3 4 5 >
Topic Options
#150854 - 08/14/02 10:39 AM [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
This hack displays statistics for your UBB like a separate category at the bottom of forum home and provides a detailed stats page.

Name: Stats Hack 1.4
Description: Adds extensive statistics to UBB.classic
Author: Tovok7 <webmaster@Tovok7.de>
Date: 10-10-2002
Thanks to: LK [ homepage ]
Compatible with: Multihack, XHTML, UBB Cache and UBB Accelerator
Requires: Modification Wordlets™
Link: http://Tovok7.de/

This hack went through an intensive testing process and should be bug free now. If you discover any bugs please post them here.

A demo can be seen at LK\'s Board .
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150855 - 08/16/02 10:03 AM Re: [6.3x] Stats Hack 1.4 [Finished]
RodentX Offline
Junior Member

Registered: 08/15/02
Posts: 1
Loc: Ohio
I'm not sure if it's a bug or if I did something wrong, but when I try to use a JC Template style, Stat Hack dissapears completly.

As long as I don't use a JC Template, it works fine. Any ideas what this could be?
_________________________
--RodentX

Top
#150856 - 08/16/02 10:25 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Da Wacko Offline
Junior Member

Registered: 07/06/02
Posts: 17
I think you should hack the JC Templates...
_________________________
i was X-tend, but i lost my mail and password frown

Top
#150857 - 08/16/02 11:22 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
If you want to use a non-standard template you need to hack those files, too.
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150858 - 08/16/02 10:43 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
Hmmm Using UBB 6.3.1 I am looking in cp_common.pl amd dont find this line:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=graemlin_intro&r=$ran> - Custom Graemlin$trade Settings</option>");

that Im supposed to put this under:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_statistics&r=$ran> - Statistics Settings</option>");

Think there is one other as well as I get 2 errors in MultiHack.

Can I just add both lines?

Without the first one I get this:

http://www.thedarkwatch.com/cgi-bin/ultimatebb.cgi

essentially nothing frown
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150859 - 08/19/02 10:19 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Autocrosser Offline
Junior Member

Registered: 11/12/01
Posts: 27
Loc: St. Louis | Car: 350Z
Quote:
quote:
Originally posted by Chrimera:
[QB]Hmmm Using UBB 6.3.1 I am looking in cp_common.pl amd dont find this line:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=graemlin_intro&r=$ran> - Custom Graemlin$trade Settings</option>");

that Im supposed to put this under:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_statistics&r=$ran> - Statistics Settings</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=graemlin_intro&r=$ran> - Custom Graemlin$trade Settings</option>");

should be

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=graemlin_intro&r=$ran> - $vars_wordlets_cp{menu_addtl_graemlins}</option>");

and

push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=search$this_forum"><acronym title="$vars_wordlets{search}">$vars_wordlets{search_link}</acronym></a>));

should be

push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=search$this_forum" title="$vars_wordlets{search}">$vars_wordlets{search_link}</a>));

This is what I gathered that is necessary for 6.3.1.1, someone else check that though, as I am new to all these mods.
_________________________
http://www.solo2.org/

Top
#150860 - 08/21/02 10:44 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
Thanks for all your help smile , but I guess I am going to insist on being stupid.

http://www.thedarkwatch.com/ubb_test/cgi-bin/ultimatebb.cgi

this is my sandbox I have rehacked the wordlets twice, so if there is a mistake I cant find it (or more to the point dont know whatIm looking for) but I dont get text. I read the FAQ and found a mistake, but there is anotherone I cannot find

thanks
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150861 - 08/22/02 08:18 AM Re: [6.3x] Stats Hack 1.4 [Finished]
bizkit73 Offline
Member

Registered: 05/12/01
Posts: 98
Loc: USA
chrimera, do you have modification wordlets installed?
_________________________
A wise man Confucious once say, "Man who stands on toilet, high on pot!"

Top
#150862 - 08/22/02 09:40 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
Ttrying to reinstall Wordlets I find this is not is my cp_common.cgi (v6.3.1)

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_img&r=$ran> - Image Wordlet&#8482; List</option>");

so that I may place this below it

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_mods;r=$ran> - Modifications Wordlet&#8482;

putting it here didnt work frown

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets&r=$ran> - $vars_wordlets_cp{wordlet_frag_primary}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_err&r=$ran> - $vars_wordlets_cp{wordlet_frag_error}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_email&r=$ran> - $vars_wordlets_cp{wordlet_frag_email}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_poll&r=$ran> - $vars_wordlets_cp{wordlet_frag_poll}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_pntf&r=$ran> - $vars_wordlets_cp{wordlet_frag_pntf}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_cp&r=$ran> - $vars_wordlets_cp{wordlet_frag_cpanel}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_date&r=$ran> - $vars_wordlets_cp{wordlet_frag_date}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_img&r=$ran> - $vars_wordlets_cp{wordlet_frag_image}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_mods;r=$ran> - Modifications Wordlet&#8482; List</option>");

What should I be looking for?
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150863 - 08/22/02 12:14 PM Re: [6.3x] Stats Hack 1.4 [Finished]
bizkit73 Offline
Member

Registered: 05/12/01
Posts: 98
Loc: USA
chrimera, are you trying to install wordlets here or stats?
_________________________
A wise man Confucious once say, "Man who stands on toilet, high on pot!"

Top
#150864 - 08/22/02 05:09 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
I was started by installing stats. You asked me if I had installed wordlets, and this is the question I have doing that. I should move this question to wordlets I guess. Sorry. When I get this addressed, and if it does not solve my 'no text' problem left over after trying the fixes in the Stats faq, I'll come back here.

Didnt mean to cross threads frown
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150865 - 08/23/02 11:08 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
Thank you for your patience and understanding

it worked -
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150866 - 08/28/02 10:37 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Mugsy Malone Offline
Junior Member

Registered: 03/16/00
Posts: 12
Loc: Chicago, IL
(double post)

Top
#150867 - 08/28/02 10:39 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Mugsy Malone Offline
Junior Member

Registered: 03/16/00
Posts: 12
Loc: Chicago, IL
I have installed under 6.3.1.1.

First, I was getting an error:
Software error:
Global symbol "%vars_statistics" requires
explicit package name at C:websstagingdocscgi-binultimatebb.cgi line 125. BEGIN not safe after errors--compilation aborted at C:websstagingdocscgi-binultimatebb.cgi line 396.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. [Wed Aug 28 10:57:36 2002] C:websstagingdocscgi-binultimatebb.cgi: Global symbol "%vars_statistics" requires explicit package name at C:websstagingdocscgi-binultimatebb.cgi line 125. [Wed Aug 28 10:57:36 2002] C:websstagingdocscgi-binultimatebb.cgi: BEGIN not safe after errors--compilation aborted at C:websstagingdocscgi-binultimatebb.cgi line 396.


So I moved the declaration of vars_statistics a little earlier. That seemed to at least keep the board from totally bombing.

Now...the "statistic" link is not showing up on forum pages...and *still* the text is now showing up on the summary at the bottom. I know the wordlets are installed (I can see them in my CP).

http://staging.windyhop.org/cgi-bin/Ultimatebb.cgi is the board.

m.

Top
#150868 - 08/28/02 12:22 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Quote:
quote:
Originally posted by Mugsy Malone:
Now...the "statistic" link is not showing up on forum pages...and *still* the text is now showing up on the summary at the bottom.
Seems to work great. Where's the problem?
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150869 - 08/28/02 02:37 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Mugsy Malone Offline
Junior Member

Registered: 03/16/00
Posts: 12
Loc: Chicago, IL
Quote:
quote:
Originally posted by Tovok7:
Seems to work great. Where's the problem?
Well, I did get it to work eventually.

However, the issue with the variable declaration (that I mentioned at first) should probably be looked at.

m.

Top
#150870 - 08/31/02 10:42 AM Re: [6.3x] Stats Hack 1.4 [Finished]
slev Offline
Junior Member

Registered: 08/31/02
Posts: 2
Loc: UK
Hi there

Can some one tell me what I am supposed to add in cp_common.pl using 6.3.1.1 under

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=graemlin_intro&r=$ran> - $vars_wordlets_cp{menu_addtl_graemlins}</option>");

this seems different as mentioned above

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_statistics&r=$ran> - Statistics Settings</option>");

can some give me an updated version of what i am supposed to add please

thanx

slev

Top
#150871 - 09/02/02 09:47 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
What needs to be hacked so this works with a JCTemplate? Thought I saw something earlier. . .

(edited)

Here's what I get using the JCTemplates. I was hoping to get them squished over to the left.

The Dark Watch
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150872 - 09/04/02 05:46 PM Re: [6.3x] Stats Hack 1.4 [Finished]
tech Offline
Junior Member

Registered: 09/04/02
Posts: 1
what do you use to open the mph files on your site? I need a program that can edit this hack for me please. I have been screwing up with it, by doing it by myself. Please help. THanks.

Top
#150873 - 09/08/02 10:33 AM Re: [6.3x] Stats Hack 1.4 [Finished]
CaCoffin Offline
Member

Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
I just installed this MOD (from the text file) on my test board - works perfect first time around!

Great MOD and great instructions - even I could follow them!

Top
#150874 - 09/11/02 02:05 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Taruil Offline
Junior Member

Registered: 03/21/02
Posts: 2
Quote:
quote:
Originally posted by slev:
Hi there

Can some one tell me what I am supposed to add in cp_common.pl using 6.3.1.1 under

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=graemlin_intro&r=$ran> - $vars_wordlets_cp{menu_addtl_graemlins}</option>");

this seems different as mentioned above

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_statistics&r=$ran> - Statistics Settings</option>");

can some give me an updated version of what i am supposed to add please

thanx

slev
slev, It is the same thing as the above except instead of calling to a wordlets file to get the title of the menu (Statistics Settings). It's just putting it in there as is to save a step.

Top
#150875 - 10/08/02 03:11 PM Re: [6.3x] Stats Hack 1.4 [Finished]
JayM Offline
Junior Member

Registered: 03/27/01
Posts: 18
I added this hack using MultiHack. A couple of suggestions:
- Don't upload the vars_wordlets_mods.cgi file. I had to backup and change the mhp file to modify vars_wordlets_mods.cgi. Not tough, but it probably should probably be in the mhp file as an edit rather than just an upload.

- I had the same errors as posted by others. Perhaps you should tie the document.writeln... to a line that everyone will have (I don't have the graemlin line either).

My question:
I have the statistics working beautifully on the category page (forum home displays categories only), but they don't appear on the forum summary pages. Any suggestions?

URL: http://www.naaf.com/UBBtest/cgi-bin/ultimatebb.cgi

Login ID: Test
Password: test

Top
#150876 - 10/08/02 09:35 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
I've got an issue. It seems like although I set the correct style in the control panel, I can't get the correct $standard_title_table to show up, and also, I'm not getting the nice graphics that I included in $TBT, $TBB. Why is it not reading those?

Top
#150877 - 10/08/02 10:08 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
Okay. I've figured out this much: the stats hack is pointing to the standard version of public_common.pl. I'm using an HTML template, so the public_common.pl file I want to reference is actually in {noncgi}/templates/{html template name related to style}

I think the issue is that unlike all other sections in UBB, this does not have a "HTML Template" option. But before I go dig deep into this code and spend hours making it work, does anyone have the fix ready... err... already!

Top
#150878 - 10/09/02 03:58 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Quote:
quote:</font><hr />Originally posted by JayM:
I added this hack using MultiHack. A couple of suggestions<hr /></blockquote>Thank you for your suggestions!

<blockquote><font class="small">quote:
[qb]Originally posted by JayM:
I have the statistics working beautifully on the category page (forum home displays categories only), but they don't appear on the forum summary pages. Any suggestions?[/qb]
You used multihack to install Stats Hack. Right? The problem is probably in ubb_forum_summary.cgi. You can try to go through it manually and search for the problem.

Quote:
quote:
Originally posted by Shriveled Toe:
does anyone have the fix ready... err... already!
Please provide an URL for your forums!
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150879 - 10/09/02 09:03 AM Re: [6.3x] Stats Hack 1.4 [Finished]
JayM Offline
Junior Member

Registered: 03/27/01
Posts: 18
I found the problem. In the mhp file, edit 12, has just:
Quote:
code:</font><hr />
Code:
	&DisplayStats;  
<hr /></blockquote>with Add After selected.

In edit 13, the code is:

<blockquote><font class="small">code:
[qb]
Code:
 	$ShColSpan2 = $vars_statistics{'ShColSpan2'};
	$vars_statistics{'ShColSpan2'} = 0;
	&DisplayStats;
 
[/qb]
with Add Before selected.

Changing edit 12 to be the same as 13 solves the problem.

Top
#150880 - 10/09/02 12:07 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
***Notice: I reviewed the following carefully, after several people pointed out how stupid and completely out of line it was. Although I wish to publicly retract the statement, I will not delete it from the record and try to pretend it never happened. Please see my Public Apology to Tovok in the Chit Chat section***

Quote:
quote:
Originally posted by Tovok7:
Please provide an URL for your forums!
Why, so you can trouble-shoot it? I already know what the problem is. The problem is your hack doesn't allow me to select an HTML template to go with my style. I've tested and verified this.

Besides, I spent a lot of time ripping out all of your Copyright stuff, and it wouldn't be fair for you to see how beautiful it looks without it! tipsy

Top
#150881 - 10/09/02 08:11 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
That was easier than I thought. If you want your stats page to pick up JCTemplates:
Code:
# Open cp_templates_advanced.pl
# Location: NonCGI/Templates
#
# Find:

		} elsif ($key eq "registration") {
			$Type = "Registration Pages";

# Under it add:

		} elsif ($key eq "statistics") {
			$Type = "Statistics Page";

# Open vars_template_match.cgi
# location: CGI-BIN
#
# Find:

%template_match = (

# Under it add:

    q!statistics! => q!!,


# Find:

%template_html = (

# Under it add:

    q!statistics! => q!!,
Then go into the control panel --> primary settings --> Style Templates --> Edit Template Associations. Set the Style Template and the HTML Template you wish to use with the stats page.

Top
#150882 - 10/10/02 06:35 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Stats Hack 1.4
Changes:
  • Fixed several install problems
  • Added control panel's new design
  • Rewrote Style Template Association
  • Fixed multihack errors

If you have no problems with Stats Hack and use v1.3, there will be no need to upgrade. This release is for new installs only.
Quote:
quote:
Originally posted by Shriveled Toe:
Besides, I spent a lot of time ripping out all of your Copyright stuff, and it wouldn't be fair for you to see how beautiful it looks without it! tipsy
This isn't funny at all. If you are such a clever guy, why don't you write your own Stats Hack instead of stealing mine?
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150883 - 10/10/02 07:30 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
***Notice: I reviewed the following carefully, after several people pointed out how stupid and completely out of line it was. Although I wish to publicly retract the statement, I will not delete it from the record and try to pretend it never happened. Please see my Public Apology to Tovok in the Chit Chat section***

Stealing? I didn't know there was a cost associated with your code. How does infopop feel about your "copyright" of something based on their intellectual property? Based on what you're doing, I'd say I've made enough modifications to your hack to call it my own and put my own copyright there.

I've been more than impressed with the general attitude about sharing and programming for the good of all around here, and out of all the great hacks available, yours seems to be the only one with a copyright line.

God know's, If LK enforced the same idea about copyrights, We would all have a list of copyright notices about 6 or 7 deep at the bottom of each page (he's probably also incorporate a copyright notice we couldn't figure out how to undo).

I think you are being extremely foolish, and selfish. You should take extreme pride in knowing that the stats hack is very good and that, judging by this thread, many people are using it with satisfaction.

I think that out of all the people who are going to look at the stats page, none of the common users are going to give a flying #$#%@ who holds the copyright. The only people for whom your name recognition will count are those of us around here that are actually using the hack.

I don't know, I'm just trying to understand your motive for putting there in the first place, and I just can't figure it out. Maybe you can tell us why this is so *extremely* important to you, or make us understand why your hacks are so different from everyone elses? Until then, don't break your arm trying to pat yourself on the back.

Top
#150884 - 10/11/02 05:21 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Quote:
quote:</font><hr />Originally posted by Shriveled Toe:
Stealing? I didn't know there was a cost associated with your code.<hr /></blockquote>Well, Mr. Toe there is no cost associated with my code, but it's my intellectual property and I share it with hundreds of other UBB fanatics for free. I worked many hours on Stats Hack and used a lot of my free time to create it and to keep it up to date. The only thing I want for that in response is this little link which isn't even a real copyright on the bottom of a sub page which nobody ever vists.

<blockquote><font class="small">quote:
[qb]Originally posted by Shriveled Toe:
How does infopop feel about your "copyright" of something based on their intellectual property?[/qb]
I can't see this sign © in connection with my name in Stats Hack. It just says Stats Hack v1.3 for UBB6 by Tovok7. Infopop's copyright to the board is still there and not controverted.

Quote:
quote:</font><hr />Originally posted by Shriveled Toe:
Based on what you're doing, I'd say I've made enough modifications to your hack to call it my own and put my own copyright there.<hr /></blockquote>Shriveled, what I did is an addition to the UBB and only there is the little hint that this addtion is written by myself. If you wrote a second Stats Page, feel free to add your own copyright to it.

<blockquote><font class="small">quote:
[qb]Originally posted by Shriveled Toe:
I've been more than impressed with the general attitude about sharing and programming for the good of all around here, and out of all the great hacks available, yours seems to be the only one with a copyright line.[/qb]
Maybe you can give me some examples? When I got into the UBB scene it was more than common to add a little copyright to your hack. Despite of that I didn't add copyrights to my early hacks. Stats Hack is with distance the most extensive hack I wrote and that's why it is the only one with a small hint to the author of it.

Quote:
quote:</font><hr />Originally posted by Shriveled Toe:
God know's, If LK enforced the same idea about copyrights, We would all have a list of copyright notices about 6 or 7 deep at the bottom of each page.<hr /></blockquote>Hyperbole isn't a stylistic device that fits you.

<blockquote><font class="small">quote:
[qb]Originally posted by Shriveled Toe:
I think you are being extremely foolish, and selfish. You should take extreme pride in knowing that the stats hack is very good and that, judging by this thread, many people are using it with satisfaction.[/qb]
How should other people profit from this if they don't know where to get this hack, if there isn't a link to the source of it? That there is the little word Tovok7 which nobody knows has nothing to do with selfishness.

Quote:
quote:</font><hr />Originally posted by Shriveled Toe:
I think that out of all the people who are going to look at the stats page, none of the common users are going to give a flying #$#%@ who holds the copyright. The only people for whom your name recognition will count are those of us around here that are actually using the hack.<hr /></blockquote>What about people being not from UBBDev who never heard of Stats Hack and maybe want to get this hack, too? How should they know that it's not part of UBB and where to get it?

<blockquote><font class="small">quote:
[qb]Originally posted by Shriveled Toe:
Maybe you can tell us why this is so *extremely* important to you, or make us understand why your hacks are so different from everyone elses? Until then, don't break your arm trying to pat yourself on the back.[/qb]
In general, my hack_ isn't different from the others but I used many of my free hours to code for the communtiy. Hours which other people get payed with many bucks. The only payment I wanted to have was this little notice. I shared my work with the condition that the copyright has to remain intact. And if there is somebody who doesn't agree to this, he will not be forced to use my hack.

Edited by LK: Toe asked me to remove his real name
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150885 - 10/11/02 09:54 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Shriveled Toe Offline
Member

Registered: 08/05/02
Posts: 64
OK. You win. I'll either create my own Stats hack or concede and put your shameless free advertisement back in. Hmmm... I'd like to keep it clean though. Perhaps, If I put an entire separate page to my site listing the hacks and their authors, and put a link on every page (something like "UBB Modification Details"). Could I put your information on that page instead of on the bottom of the statistics page itself.

Do you think that would be a fair arrangement?

Also, regarding the Hyperbole, I'm not so sure. If you look around, you see alot of Calendars and Spellcheck buttons on UBB forums. The guy's got something like 20 hacks posted.

Top
#150886 - 10/12/02 03:28 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Quote:
quote:</font><hr />Originally posted by Shriveled Toe:
Do you think that would be a fair arrangement?<hr /></blockquote>I would agree to this.

<blockquote><font class="small">quote:
[qb]Originally posted by Shriveled Toe:
Also, regarding the Hyperbole, I'm not so sure. If you look around, you see alot of Calendars and Spellcheck buttons on UBB forums. The guy's got something like 20 hacks posted.[/qb]
I'm not sure wheather I understood you in the right way. I don't want to have copyrights all around UBB, just if you have a seperate page added by a hack f.ex. Memberlist, old Who's Online or Stats Hack. The Spellcheck or the TimeZone Hack don't need a public copyright because there is no room for it. IMO copyrights shouldn't violate the aesthetical look of UBB, so just one little hint at the bottom of a seperate page.
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150887 - 10/13/02 07:47 PM Re: [6.3x] Stats Hack 1.4 [Finished]
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:
Originally posted by Shriveled Toe:
OK. You win. I'll either create my own Stats hack or concede and put your shameless free advertisement back in.

Or just not use his hack...or you might even consider not acting like an idiot.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#150888 - 10/13/02 07:49 PM Re: [6.3x] Stats Hack 1.4 [Finished]
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:
Originally posted by Shriveled Toe:
Stealing? I didn't know there was a cost associated with your code. How does infopop feel about your "copyright" of something based on their intellectual property? Based on what you're doing, I'd say I've made enough modifications to your hack to call it my own and put my own copyright there.

I've been more than impressed with the general attitude about sharing and programming for the good of all around here, and out of all the great hacks available, yours seems to be the only one with a copyright line.

God know's, If LK enforced the same idea about copyrights, We would all have a list of copyright notices about 6 or 7 deep at the bottom of each page (he's probably also incorporate a copyright notice we couldn't figure out how to undo).

I think you are being extremely foolish, and selfish. You should take extreme pride in knowing that the stats hack is very good and that, judging by this thread, many people are using it with satisfaction.

I think that out of all the people who are going to look at the stats page, none of the common users are going to give a flying #$#%@ who holds the copyright. The only people for whom your name recognition will count are those of us around here that are actually using the hack.

I don't know, I'm just trying to understand your motive for putting there in the first place, and I just can't figure it out. Maybe you can tell us why this is so *extremely* important to you, or make us understand why your hacks are so different from everyone elses? Until then, don't break your arm trying to pat yourself on the back.
Never mind, it's too late...just ban the moron.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#150889 - 10/14/02 07:53 AM Re: [6.3x] Stats Hack 1.4 [Finished]
bizkit73 Offline
Member

Registered: 05/12/01
Posts: 98
Loc: USA
I think shriveled ***** needs to learn some manners. It is people like you that discourage others from doing a good job. You make me sick and if you were here right now I would ***** slap ya like the little ***** that you are. So put that in your pipe and smoke it homie. mad
_________________________
A wise man Confucious once say, "Man who stands on toilet, high on pot!"

Top
#150890 - 10/14/02 07:57 AM Re: [6.3x] Stats Hack 1.4 [Finished]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Bizkit, there is a reason some words are censored, don't try to override censor check! frown
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#150891 - 10/15/02 07:26 AM Re: [6.3x] Stats Hack 1.4 [Finished]
bizkit73 Offline
Member

Registered: 05/12/01
Posts: 98
Loc: USA
Please check your PMs bizkit -- LK
_________________________
A wise man Confucious once say, "Man who stands on toilet, high on pot!"

Top
#150892 - 10/15/02 02:02 PM Re: [6.3x] Stats Hack 1.4 [Finished]
bizkit73 Offline
Member

Registered: 05/12/01
Posts: 98
Loc: USA
Sorry. didn't realize there were youngsters here with UBB licenses. Will not happen again.
_________________________
A wise man Confucious once say, "Man who stands on toilet, high on pot!"

Top
#150893 - 10/18/02 05:10 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Fahd Offline
Member

Registered: 05/02/01
Posts: 50
Loc: Earth
Code:
###############################################################################
# if you have wol list hack, open public_pntf_summary.pl (template) and find: #
###############################################################################

					$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);

##############
# add below: #
##############

				} elsif($gah eq "5.7475" && !$in{f}) {
					$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);
Is that supposed to be "public_display_profile.pl" because I can't find that line in the "public_pntf_summary.pl" file. Only in the "public_display_profile.pl" file...
_________________________
--Fahd
=SSC= Forums

Top
#150894 - 10/18/02 05:21 PM Re: [6.3x] Stats Hack 1.4 [Finished]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
WOL List doesn't modify public_pntf_summary.pl anymore, it did it only in the 6.2 versions smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#150895 - 10/18/02 07:58 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Fahd Offline
Member

Registered: 05/02/01
Posts: 50
Loc: Earth
Well it seems to work (I can see users browsing the statistics page) so either my guess was right or I've just added some un-needed code wink
_________________________
--Fahd
=SSC= Forums

Top
#150896 - 11/09/02 01:43 PM Re: [6.3x] Stats Hack 1.4 [Finished]
EftheM Offline
Junior Member

Registered: 11/03/02
Posts: 30
I just wanted to mention that the latest version of the hack solved the problems with the version before on my board!

Great Job!

thnx for making this hack!

Top
#150897 - 11/16/02 12:43 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
Now, maybe I am just a "dirt" disturber but I dont see what is Shriveled Toe's problem?
And this goes for everybody that even considered his pledge to have a valid bearing!

These guys are spendings days and nights to bring us new, nice features and spendings additional days and nights supporting the hacks and helping dummies like me install the hack correctly and we are not even able to give them the right consideration? If you are unable to show some respect and recognition for their work and dedication yes, you are stealing the hacks!

Whats so complicated? If a name/link under a hack will put a dent in your personality at you UBB make your own or, as TheX said: DONT USE IT!

Sorry for bringing this up again, I just have to say it.

Thank you all.

Top
#150898 - 11/21/02 04:34 PM Re: [6.3x] Stats Hack 1.4 [Finished]
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
[edited]
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#150899 - 11/24/02 09:34 PM Re: [6.3x] Stats Hack 1.4 [Finished]
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Love this hack, One question, Id like to be able to modify the number of days the board has been online, how does it derive this number ?

Thanks!
_________________________
I can't afford a good signature editor frown

Top
#150900 - 11/24/02 11:03 PM Re: [6.3x] Stats Hack 1.4 [Finished]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You have to change Cookie_Number in vars_config.cgi, but if you do that, all your members will have to login to your board again.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#150901 - 11/24/02 11:31 PM Re: [6.3x] Stats Hack 1.4 [Finished]
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
LK, thanks for the reply, although I dont want to reset it, I want to set to something like 600 days when the board was fisrt setup on v5 ubb.
How would I go about doing this ?
As it now says
Code:
 
q!Cookie_Number! => q!2452562.2037!
Thanks!
_________________________
I can't afford a good signature editor frown

Top
#150902 - 12/09/02 10:22 AM Re: [6.3x] Stats Hack 1.4 [Finished]
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
....did the Stats-Hack 1.4 work with UBB-Classic 6.4.0 Public Beta 1???

thanks
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#150903 - 12/11/02 05:58 AM Re: [6.3x] Stats Hack 1.4 [Finished]
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
The stats-hack did not work with 6.4.0....

I did not find the following code...

open ubb_forum_summary.cgi and find:

$ThisHTML .= &Cat_Page_Bottom;

If anybody find it please tell me wich line...

thanks
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#150904 - 12/11/02 08:41 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Why don't you use the search function?

It's right above "return 2;" or look at the end of the file right before the return which is right before the last "}".
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150905 - 12/11/02 10:49 AM Re: [6.3x] Stats Hack 1.4 [Finished]
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi Tovok7,

what have i done wrong? Look at my page http://www.giga-board.com/cgi-bin/ultimatebb.cgi

that code is somethin different in the new 6.4
I can't exactly find it...

open public_pntf_admin.pl and find:

find: #
#########

return sprintf("%04d%04d.%04d", $in{f}, $in{DaysPrune}, $in{p});

Please help me...

thanks
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#150906 - 12/12/02 08:31 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Leave this step out. It's not part of your problem. You hacked your UBB wrong. Take your backup files and try using multihack instead.
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150907 - 12/12/02 12:40 PM Re: [6.3x] Stats Hack 1.4 [Finished]
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi,

I have rehack it several times but every time it is the same...

http://www.giga-board.com/cgi-bin/ultimatebb.cgi

d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#150908 - 12/12/02 06:27 PM Re: [6.3x] Stats Hack 1.4 [Finished]
jmuma Offline
Junior Member

Registered: 12/08/02
Posts: 2
This mod causes my "Last Reply" column to widen. Is there anyway to change a column size or make the stats program use only 1 column instead of 2. Here is my site;

http://www.tcpaintball.com/cgi-bin/ultimatebb.cgi

Top
#150909 - 12/13/02 06:38 AM Re: [6.3x] Stats Hack 1.4 [Finished]
jmuma Offline
Junior Member

Registered: 12/08/02
Posts: 2
Well I sorta got the above fixed. I went in a changed the second column to 100% so that it would fill up as much space as possible. Is there a better way to do this or just put the stats in 1 column.

Top
#150910 - 12/13/02 07:41 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
You can change the column combination in controlpanel.
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150911 - 12/14/02 09:58 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Nettomo Offline
Enthusiast

Registered: 11/18/01
Posts: 431
Loc: Germany, Bremen
Hi Leute ,

Sorry i not Englisch !

Code:
 

######################################
### Suche in vars_wordlets_mods.cgi:
######################################

%vars_wordlets_mods = (

#######################
### ersetze es durch:
#######################

%vars_wordlets_mods = (
statistics_header			=> "<b>Statistics</b>",
statistics_pntf				=> "Statistics",
statistics_total_posts			=> "Total Posts:",
statistics_total_topics			=> "Total Topics:",
statistics_total_forums			=> "Total Forums:",
statistics_total_members		=> "Total Members:",
statistics_average_member_posts 	=> "Average Posts per Member:",
statistics_average_posts		=> "Average Posts per Forum:",
statistics_average_topic		=> "Average Topics per Forum:",
statistics_topics_per_day		=> "Topics per Day:",
statistics_posts_per_day		=> "Posts per Day:",
statistics_days_ago_1			=> "This board was set up",
statistics_days_ago_2			=> "days ago.",
statistics_newest_member		=> "Last member to register is",
statistics_featured_member		=> "Featured member is",
statistics_last_post_by			=> "Last post by",
statistics_in				=> "in",
statistics_at				=> "at",
statistics_on				=> "on",
statistics_monthly_hits			=> "Page Views",
statistics_pageviews			=> "Total Page Views:",

------------------------------------------------------------------------

###############################
### Suche in ultimatebb.cgi:
###############################

use vars qw(

###############################
### füge folgendes in den 
### nachfolgenden String ein :
###############################

%vars_wordlets_mods 

###################
### dann suche :
###################

foreach my $file (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $file (qw(wordlets_mods 

------------------------------------------------------------------------

###############################
### Suche in cp.cgi:
###############################

foreach my $file (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $file (qw(wordlets_mods 

------------------------------------------------------------------------

###############################
### Suche in cp_wordlets.cgi:
###############################

		&LoadTemplate("cp_set_wordlets");
		&CPBottom;


	} elsif ($_[0] eq 'wordlets_err') {

#################################
### ersetze es durch :
#################################

		&LoadTemplate("cp_set_wordlets");
		&CPBottom;


	} elsif ($_[0] eq 'wordlets_mods') {

		%wordlets_fill = %vars_wordlets_mods;

		$Hiddens = qq%<INPUT TYPE="HIDDEN" NAME="ubb" VALUE="set_wordlets">
<INPUT TYPE="HIDDEN" NAME="type" VALUE="$_[0]">
%;
		$CurrentTab = qq%$vars_wordlets_mods{mod_wordlets}%;

		# note: the wordlets are already required... no need to grab them

		&CPHeader;
		&CPFooter;
		&CPTop;
		&LoadTemplate("cp_set_wordlets");
		&CPBottom;


	} elsif ($_[0] eq 'wordlets_err') {

###################
### dann suche :
###################

	if ($in{type} eq 'wordlets') {
		%update_wordlets = %vars_wordlets;

#################################
### ersetze es durch :
#################################

	if ($in{type} eq 'wordlets') {
		%update_wordlets = %vars_wordlets;
	} elsif ($in{type} eq 'wordlets_mods') {
		%update_wordlets = %vars_wordlets_mods;
		
------------------------------------------------------------------------

###############################
### Suche in cp_common.pl:
###############################

          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_img&r=$ran> - $vars_wordlets_cp{wordlet_frag_image}</option>");

#########################
### ersetze es durch :
#########################

          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_img&r=$ran> - $vars_wordlets_cp{wordlet_frag_image}</option>");
          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_mods&r=$ran> - Modifications</option>");
          
------------------------------------------------------------------------


#################################
### suche in  ultimatebb.cgi
#################################

foreach my $file (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $file (qw(statistics  

#################
### dann suche:
#################

use vars qw(

###############################
### füge folgendes in den 
### nachfolgenden String ein :
###############################

%vars_statistics 

#################
### dann suche:
#################

if ($ubb eq 'login') {
	&set_page_elements;
	&LoadTemplate("public_login");
	exit(0);
}

########################
### ersetze es durch :
########################

if ($ubb eq 'login') {
	&set_page_elements;
	&LoadTemplate("public_login");
	exit(0);
}

if ($ubb eq 'statistics') {
	&set_page_elements;
	&RequireCode("$vars_config{CGIPath}/ubb_statistics.cgi");
	&DisplayStatistics;
	exit(0);
}

if ($ubb eq 'statistics_ssi') {
	&RequireCode("$vars_config{CGIPath}/ubb_statistics.cgi");
	&DisplaySSIStatistics;
	exit(0);
}

------------------------------------------------------------------------

#################################
### suche in  ubb_lib.cgi
#################################

	my %types = (

########################
### ersetze es durch :
########################

	my %types = (
	        'statistics' => q^|statistics|^,

#################
### dann suche:
#################

	foreach my $type (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

	foreach my $type (qw(statistics 
	
------------------------------------------------------------------------

######################################
### suche in  ubb_forum_summary.cgi
######################################

&set_page_elements;

########################
### ersetze es durch :
########################

&set_page_elements;

&RequireCode("$vars_config{CGIPath}/ubb_statistics.cgi");

#################
### dann suche:
#################

$ThisHTML .= &PageBottom;

########################
### ersetze es durch :
########################

	&DisplayStats;
	$ThisHTML .= &PageBottom;

#################
### dann suche:
#################

$ThisHTML .= &Cat_Page_Bottom;

########################
### ersetze es durch :
########################

	$ShColSpan2 = $vars_statistics{'ShColSpan2'};
	$vars_statistics{'ShColSpan2'} = 0;
	&DisplayStats;
	$ThisHTML .= &Cat_Page_Bottom;

------------------------------------------------------------------------

#################################
### suche in  cp.cgi
#################################

}    # end get_archives

########################
### ersetze es durch :
########################

}    # end get_archives

if (($ubb eq 'vars_statistics') && ($status eq 'Administrator')) {
	&RequireVars("$vars_config{VariablesPath}/vars_statistics.cgi");
	&RequireCode("$vars_config{CGIPath}/cp_statistics.cgi");
	&StatisticsSettings;
	exit(0);
}

if (($ubb eq 'set_vars_statistics') && ($status eq 'Administrator')) {
	&RequireCode("$vars_config{CGIPath}/cp_statistics.cgi");
	&SetStatisticsSettings;
	exit(0);
}

------------------------------------------------------------------------

#################################
### suche in  cp_styles.cgi
#################################

	if ($_[0] eq "misc") {

########################
### ersetze es durch :
########################

	if ($_[0] eq "misc") {
		$template_match{statistics}   = $in{statistics};

------------------------------------------------------------------------

#######################################
### suche in  vars_template_match.cgi
#######################################

%template_match = (

########################
### ersetze es durch :
########################

%template_match = (
    q!statistics! => q!1!,

#################
### dann suche:
#################

%template_html = (

########################
### ersetze es durch :
########################

%template_html = (
    q!statistics! => q!!,
    
------------------------------------------------------------------------

#######################################
### suche in  cp_common.pl
#######################################

          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=faq&r=$ran> - $vars_wordlets_cp{menu_faq}</option>");

########################
### ersetze es durch :
########################

          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=faq&r=$ran> - $vars_wordlets_cp{menu_faq}</option>");
          document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_statistics&amp;r=$ran> - Statistics Settings</option>");

------------------------------------------------------------------------

#######################################
### suche in  cp_templates_advanced.pl
#######################################

		} elsif ($key eq "registration") {
			$Type = $vars_wordlets_cp{style_template_assoc_reg};

########################
### ersetze es durch :
########################

		} elsif ($key eq "registration") {
			$Type = $vars_wordlets_cp{style_template_assoc_reg};
		} elsif ($key eq "statistics") {
			$Type = "Statistics Page";

------------------------------------------------------------------------

#######################################
### suche in  public_forum_summary.pl
#######################################

sub PageBottom {
	my $Bottom = qq~

########################
### ersetze es durch :
########################

sub PageBottom {
	my $Bottom = qq~
	
<tr bgcolor="$vars_style{CategoryStripColor}">
	<td colspan="$ColSpan">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{'statistics_header'}</font></a>
	</td>
</tr>
<tr>
	<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="center"><img src="$vars_config{NonCGIURL}/$vars_statistics{'GraphIcon'}" border="0" alt="" /></td>
	<td colspan="$vars_statistics{ShColSpan1}" valign="top" bgcolor="$vars_style{AltColumnColor2}" width="50%">
<font size="1" face="$vars_style{FontFace}">$DisplayFH</font>
	</td>
</tr>

#################
### dann suche:
#################

sub Cat_Page_Bottom {
	my $Bottom = qq~

$TBB

########################
### ersetze es durch :
########################

sub Cat_Page_Bottom {
	my $Bottom = qq~

$TBB




$TBT
<tr bgcolor="$vars_style{CategoryStripColor}">
	<td colspan="3">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{'statistics_header'}</font></a>
	</td>
</tr>
<tr>
	<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="center"><img src="$vars_config{NonCGIURL}/$vars_statistics{'GraphIcon'}" border="0" /></td>
	<td bgcolor="$vars_style{AltColumnColor2}" valign="top" width="50%">
<font size="1" face="$vars_style{FontFace}">$DisplayFH</font>
	</td>
</tr>
$TBB

------------------------------------------------------------------------

#######################################
### suche in  public_common.pl
#######################################

	if ($vars_search{AllowSearch} ne 'FALSE') {
		# Search
		my $this_forum = "";
		if (exists $in{'f'}) {
			$this_forum = ";search_forum=$in{f}";
		} else {
			$this_forum = "";
		}
		push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=search$this_forum" title="$vars_wordlets{search}">$vars_wordlets{search_link}</a>));
	} # end if

########################
### ersetze es durch :
########################

	if ($vars_search{AllowSearch} ne 'FALSE') {
		# Search
		my $this_forum = "";
		if (exists $in{'f'}) {
			$this_forum = ";search_forum=$in{f}";
		} else {
			$this_forum = "";
		}
		push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=search$this_forum" title="$vars_wordlets{search}">$vars_wordlets{search_link}</a>));
	} 
	
	if ($vars_statistics{'MBL'}) {
		# Statistics
		push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{'statistics_pntf'}</a>));
	}
	
	# end if

------------------------------------------------------------------------

#######################################
### suche in  public_pntf_admin.pl
#######################################

		} else {
			$location .= qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf_admin;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);
		} # end if

########################
### ersetze es durch :
########################

		} else {
			$location .= qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf_admin;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);
		} 
		
		} elsif($gah eq "5.7475") {
		$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);
		
		# end if

------------------------------------------------------------------------

#######################################
### suche in  ubb_lib_pntf.cgi
#######################################

		if($in->{ubb} !~ m/^(

########################
### ersetze es durch :
########################

		if($in->{ubb} !~ m/^(statistics|

#################
### dann suche:
#################

	#9999.1 - LID for front page category 1

########################
### ersetze es durch :
########################

	#9999.1 - LID for front page category 1
	#5.7475 - LID for Statistics

#################
### dann suche:
#################

		return sprintf("%04d%04d.%04d", $in{f}, $in{DaysPrune} &#0124;&#0124; 0, $in{p} &#0124;&#0124; 0);

########################
### ersetze es durch :
########################

			return sprintf("%04d%04d.%04d", $in{f}, $in{DaysPrune} &#0124;&#0124; 0, $in{p} &#0124;&#0124; 0);
		
	} elsif ($in{ubb} eq "statistics") {

		#$self->warn("Viewing Statistics");
		return 5.7475;

------------------------------------------------------------------------

#########################################
### suche in  public_display_profile.pl
#########################################

					$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);

########################
### ersetze es durch :
########################

					$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);
				} elsif($gah eq "5.7475") {
					$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);

------------------------------------------------------------------------







###############################################################################
# if you have wol list hack, open public_pntf_summary.pl (template) and find: #
###############################################################################

					$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);

##############
# add below: #
##############

				} elsif($gah eq "5.7475" && !$in{f}) {
					$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);

#####################
# clear your cache! #
#####################

------------------------------------  FAQ  -----------------------------------
Q: I can't find the stats on forum home, where are they?
A: You forgot to clear your cache. Clear it and reload the page!

Q: Can you insert birthdays?
A: This feature of comparing birthdays (showing the oldest and the youngest
   member) is not planned, just because that would require a search through
   all member files and this is - especially on huge UBB's - a too extensive
   process.

Q: I just would like to know what is exactly the "featured member"?
A: The featured member is randomly choosen. Some users like it to read their
   name on forum home, it's maybe a special honor for them.

Q: I installed it but there is no text in it. I just got numbers in it.
A: You installed the wordlets wrong. Please read mods_wordlet_install.txt and
   go through it again.

Q: There are no values displayed. How can I make them visible?
A: Probably your ubb_statistics.cgi isn't installed properly, install it again
   like described above. You may hacked ultimatebb.cgi wrong, make sure that
   all is correct hacked.

Q: I can't find the cp_common.pl or cp_vars_statistics.pl in my cgi-bin or
   anywhere on my Server!
A: These files are templates they are placed in /noncgi/Templates/

Q: How can I display the stats via SSI?
A: Make sure your server supports SSI, create a file with a .shtml or .ssi
   extension, then put the following code in there and modifiy the path
   <!--#include virtual="/ubbcgi/ultimatebb.cgi?ubb=statistics_ssi" -->
   
Q: My tables on forum home are screwed up. What can I do to get rid of this?
A: In the Controlpanel you have Col Span Right and Left. Play arround with
   the values then it should fits. Remember to clear your cache after every
   try!

Q: Where can I change the Style Template Associations?
A: Go into controlpanel: Primary Settings -> Style Templates -> Edit Style
   Template Associations there you are!
 
Nettomo
_________________________
www.board.se
www.u3.board.se

Top
#150912 - 12/15/02 04:28 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Nettomo, where is actually the difference to v1.3?
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150913 - 12/15/02 10:23 AM Re: [6.3x] Stats Hack 1.4 [Finished]
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
With both it did not work on my board, i think it has a problem with an other hack....

d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#150914 - 12/19/02 04:30 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
Can anybody save me the time to hack everything for the 3rd time ant tell me where is my problem?

http://www.dss-shop.com/cgi-bin/ubb/ultimatebb.cgi

Top
#150915 - 12/20/02 11:33 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Looks as if you made a mistake in ubb_forum_summary.cgi. Did you notice the above's instead of the below's?
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150916 - 12/20/02 03:40 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
danke her Tovok wink

Top
#150917 - 12/21/02 02:33 AM Re: [6.3x] Stats Hack 1.4 [Finished]
nym Offline
Junior Member

Registered: 12/21/02
Posts: 2
Loc: Ohio
I'm really having trouble with this mod....most of the problem is probably my lack of experience with UBB. I've redone this 4 times, and it's better this time than it's been in the past. I now get the correct numbers, including on the Statistics page. I just don't get their labels, and I can't figure out why. I also don't get a link on the main menu options to the Statistics page, though there's a space where the link should be. Could someone please help me? Here's the link to the board:
http://apooltoswim.com/cgi-bin/ultimatebb.cgi

and here's the link to the stats page:
http://apooltoswim.com/cgi-bin/ultimatebb.cgi?ubb=statistics

ANY help at all would be appreciated.

Thanks.

Matt

Top
#150918 - 12/21/02 03:45 AM Re: [6.3x] Stats Hack 1.4 [Finished]
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi,

you have to install mods wordlets!!!

d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#150919 - 12/21/02 08:09 AM Re: [6.3x] Stats Hack 1.4 [Finished]
nym Offline
Junior Member

Registered: 12/21/02
Posts: 2
Loc: Ohio
Ok, I'm stupid.
Thank you so much...problem fixed.

Top
#150920 - 01/30/03 05:07 PM Re: [6.3x] Stats Hack 1.4 [Finished]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
_________________________
- Allen wavey
- What Drives You?

Top
#150921 - 03/09/03 11:26 PM Re: [6.3x] Stats Hack 1.4 [Finished]
manuelbp Offline
Member

Registered: 05/23/01
Posts: 137
Loc: Montevideo
I installed the hack, everything works great in the main page of the forums, but when I click on "Statistic Settings" in the cp, the following error appears:

Code:
[/code]I must mention that when I installed the hack, I didn´t find the following line in 
cp_common.pl:  [code]
so the line that I had to add below that, I added it below:

[code][/code]Please somebody help, thanks a lot.
Forums: http://www.rompela.com/cgi-rompela/ubbcgi/ultimatebb.cgi
Ver: 6.3.0

Top
#150922 - 03/10/03 08:41 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
You need Stats Hack 1.3 for UBB version 6.3!
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150923 - 03/10/03 11:28 AM Re: [6.3x] Stats Hack 1.4 [Finished]
aleina Offline
Member

Registered: 10/14/00
Posts: 67
Loc: Sweden
edit: gizzy, I forgot to upload vars_statistics.cgi so that's why I got that error that FeaturedMemberTime was missing wink
_________________________
aleina

Top
#150924 - 03/10/03 11:32 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Its not reading the ammount of time that you have set for the featured members to be displayed, try to set it to 1 hour.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#150925 - 03/10/03 02:22 PM Re: [6.3x] Stats Hack 1.4 [Finished]
manuelbp Offline
Member

Registered: 05/23/01
Posts: 137
Loc: Montevideo
Thanks Tovok !! my mistake. thumbsup

Top
#150926 - 06/19/03 11:05 AM Re: [6.3x] Stats Hack 1.4 [Finished]
BUZN_WILDLY Offline
Junior Member

Registered: 05/24/03
Posts: 19
Loc: Ont.
Thanks a ton for the Hack!
Great Job...
I have one little problem...
On my "forum home" page...
right above my "furum" block...
I have this? _locations[2]
How do I get rid of this?
Thank you in advance!

BUZN_WILDLY laugh

--------->Update<---------

I guess you have to add things two times!
I got it working... works GREAT!
Thank-You! thumbsup

Top
#150927 - 06/20/03 01:16 AM Re: [6.3x] Stats Hack 1.4 [Finished]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
glad you got it working smile
_________________________
- Allen wavey
- What Drives You?

Top
#150928 - 08/09/03 04:48 AM Re: [6.3x] Stats Hack 1.4 [Finished]
autostream Offline
Member

Registered: 05/15/01
Posts: 55
Hey, I moved my board over to a new server and now it say been active for 5 days? when really its been around for 2 years!!!! so all the stats are messed up (300 posts per day, etc)
what file is this number located in?
thanks in advance

Top
#150929 - 08/09/03 06:01 AM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
That is because your Cookie Number is new. Try to edit vars_config.cgi and change your Cookie_Number into your old one.
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
#150930 - 08/09/03 11:04 PM Re: [6.3x] Stats Hack 1.4 [Finished]
autostream Offline
Member

Registered: 05/15/01
Posts: 55
this number?:
q!2452752.1728!

i did and got error: ubb_lib.cgi cant locate in ultimatebb.cgi or something
...?

Top
#150931 - 08/13/03 03:17 AM Re: [6.3x] Stats Hack 1.4 [Finished]
autostream Offline
Member

Registered: 05/15/01
Posts: 55
I take that back, you were RIGHT
I must've uploaded it in binary or something.
this number is encrypted so its impossible to custom set it but i found some old ones:
2452046.0451 -> 5/13/2001
2452853.0419 -> 5/1/2003
2452752.1728 -> 7/13/2003

Top
#150932 - 08/17/03 06:50 PM Re: [6.3x] Stats Hack 1.4 [Finished]
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
I had to modify this on my board too, the number you are looking at isnt encrypted, its just a different date/time format know as Julian. Go to this site and do your conversion.

http://www.onlineconversion.com/julian_date.htm

Good luck!
_________________________
I can't afford a good signature editor frown

Top
#150933 - 11/06/03 08:35 AM Re: [6.3x] Stats Hack 1.4 [Finished]
_Cash Offline
User

Registered: 11/05/03
Posts: 35
Hello,
first of all this Statistics hack is great!.
Now I have one question, I am using UBB.classic 6.3.1.2 and before I installed the hack it looked like this http://users.skynet.be/dewit/pictures/ubb.jpg
now it looks like this: http://users.skynet.be/dewit/pictures/ubb2.jpg
as you can see the coloms have shifted to the left. I don't know why and how, but is it possible that I shift them back to the right and how?

Top
#150934 - 11/06/03 05:56 PM Re: [6.3x] Stats Hack 1.4 [Finished]
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Go into the CP and change the colspan settings for the stats hack.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#150935 - 11/06/03 07:47 PM Re: [6.3x] Stats Hack 1.4 [Finished]
_Cash Offline
User

Registered: 11/05/03
Posts: 35
Hi Randy, thx that solved it,
but I have one more question, don't the Stats update automaticly? When I change something in the CP for the Statistics and check my page, nothing had changed. Everytime I chang something fot the stats in the CP I have to clear the cache in the CP.
Also, I have to clear the cache in the CP to update the total views. Is this norma?

Top
#150936 - 11/06/03 09:27 PM Re: [6.3x] Stats Hack 1.4 [Finished]
Tovok7 Offline
Member

Registered: 02/09/01
Posts: 267
Loc: Germany | Occupation: UBB Code...
Yes, this is the designed behavior.
_________________________
[img]http://Tovok7.de/cgi-bin/ecitation.cgi[/img]
--------------------
Please visit my homepage !

Top
Page 1 of 5 1 2 3 4 5 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks